package com.online.onlineshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author zihao.wang1
 * @date 2022/4/25
 */
@Data
@ToString
public class Comment extends BaseFields implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer oid;

    private Integer pid;

    private Integer uid;

    private Integer puid;

    private String comment;
}
